package com.group3.merchant.validator.impl;

import java.util.ArrayList;
import java.util.List;

import com.group3.merchant.validator.IValidator;

public class LoginPasswordValidator implements IValidator{
	private final String NOT_NULL_MSG = "PASSWORD CANNOT BE EMPTY!";
	@Override
	public List<String> validate(String s) {
		List<String> errMsg = new ArrayList<String>();
		if ("".equals(s)) {
			errMsg.add(NOT_NULL_MSG);
		}

		return errMsg;
	}
}
